.topHeader {
  width: 100%;
  height: 54px;
  background-color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 20px 0 0 0;
  .topBox {
    padding: 0 20px;
    line-height: 30px;
    cursor: default;
    position: relative;
    cursor: pointer;
  }

  //头部导航高亮
  .activep {
    color: #fff;
    //border-image: linear-gradient(0deg, #1991EB, #2EA1F8) 10 10;
    background: linear-gradient(0deg, #1991eb 10%, #2ea1f8 90%);
  }
}
::v-deep .ant-calendar-picker {
  opacity: 0 !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.app-container {
  font-family: Microsoft YaHei;
  margin-top: 10px;
  .historybox {
    padding: 20px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background: #fff;
    min-height: 430px;
    .header {
      font-size: 16px;
      font-weight: bold;
    }
    .pad-20 {
      padding: 20px;
    }
    .quantityOFGacility {
      //padding: 20px 10px;

      li {
        width: 100%;
        margin: 10px 1.5%;
        border: 1px solid #e6eaee;
        border-radius: 2px;
        text-align: center;
        position: relative;
        padding: 24px 0;
        box-sizing: border-box;
      }

      h5 {
        font-size: 36px;
        font-family: Proxima Nova;
        font-weight: 400;
        color: #289df5;
        line-height: 42px;
      }

      p {
        font-size: 12px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #000;
        line-height: 22px;
      }

      a {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: #289df5;
      }
    }
  }

  .pielegendbox {
    display: flex;
    flex-direction: row;
    //align-items: center;
    justify-content: center;
    // background-color: rgba(255, 255, 255, 0.3);
    //border-left: 1px solid #E6EAEE;
  }

  .pielegend {
    line-height: 40px;
    // height: 40px;
    padding-left: 20px;

    //border-bottom: 1px solid #E6EAEE;

    &:last-child {
      border: 0 !important;
    }

    .quan {
      display: inline-block;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 2px solid #fff;
      margin-right: 10px;
    }

    .name {
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #7f8fa4;
      line-height: 18px;
      margin-right: 10px;
    }

    .value {
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #000;
      line-height: 32px;
      display: block;
    }
  }
  .alarmhistorybox {
    display: flex;
    flex-direction: column;
    //align-items: center;
    justify-content: center;
    // background-color: rgba(255, 255, 255, 0.3);
    border-left: 1px solid #e6eaee;

    .alarmhistory {
      line-height: 140px;
      height: 140px;
      padding-left: 20px;
      border-bottom: 1px solid #e6eaee;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      &:last-child {
        border: 0;
      }

      .value {
        font-size: 18px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #000;
        line-height: 34px;
      }
      .name {
        font-size: 14px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #000;
        line-height: 34px;
      }
    }
  }
  //报警历史
  .alarmStyle {
    padding: 20px;
    ul {
      overflow: hidden;
      li {
        float: left;
        margin-right: 20px;
        line-height: 30px;
        font-size: 16px;
        padding: 0 36px;
        position: relative;

        .liicon {
          position: absolute;
          top: -1px;
          right: -1px;
        }
      }
    }
  }
  //
  .progressbox {
    height: 328px;
    // overflow: hidden;
    // overflow-y: scroll;
  }
  .progressdivtime {
    padding: 12px 12px;
    box-sizing: border-box;

    .progressOnenametime {
      margin-right: 4%;
      display: inline-block;
      width: 24%;
      text-align: right;
    }
    .progressOnename {
      width: 20%;
      display: inline-block;
    }
  }
}
